package com.njwb.day06;

public class Test学生老师人 {
    public static void main(String[] args) {
        学生 xsh=new 学生();
        xsh.姓名="李大宝";
        xsh.学号="no10001";
        xsh.年龄=21;
        xsh.性别=true;
        xsh.成绩=99.5;
        xsh.吃("米饭");
        xsh.移动();
        xsh.学习();

        老师 lsh=new 老师();
        //lsh.姓名="张三";
        lsh.年龄=21;
        lsh.性别=true;
        lsh.工号="lsh10001";
        lsh.吃("馒头");
        lsh.移动();
        lsh.备课();
        lsh.批改作业();

        学生 xsh2=new 学生("小红",21,false,"no10002",88.5);
        System.out.println(xsh2.姓名);
        System.out.println(xsh2.年龄);
        System.out.println(xsh2.性别);
        System.out.println(xsh2.学号);
        System.out.println(xsh2.成绩);

    }
}
